package only.my.railgunys.weapon;

import only.my.railgunys.bean.Character;
import only.my.railgunys.bean.Weapon;

/**
 * 飞雷之振弦
 */
public class ThunderingPulse extends Weapon {
    public int refineLevel;
    public ThunderingPulse(int refineLevel){
        this.atk = 608D;
        this.subStatValue = 66.2D;
        this.refineLevel = refineLevel;
        this.name = "飞雷弓";
        this.code = 12;
    }

    @Override
    public Character subStatEnhance(Character character) {
        character.addCritDmg(66.2);
        character.addAtk(20D+20*(refineLevel-1)*0.25);
        return character;
    }

    @Override
    public Character specialAbility(Character character) {
        character.addIncrease(40+40*(refineLevel-1)*0.25);
        return character;
    }
}
